package cn.itcast.day01.demo02;

public class Demo02MethodDefine {
    public static void main(String[] args) {
        int plus=sum(10,20);
        System.out.println(plus);
    }
    public static int sum(int a,int b){
        int result=a+b;
        return result;
    }
}
